package yf.mall.dao;

import org.apache.ibatis.annotations.Param;
import yf.mall.entity.SaleTypeInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import com.yf.dao.BaseDao;
/**
 * 活动Dao
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Fri Aug 28 11:03:45 CST 2020
 */
@Mapper
public interface SaleTypeInfoDao extends BaseDao<SaleTypeInfoEntity> {

    SaleTypeInfoEntity findByGoodsId(Long goodsId);

    void deleteGoodsIdBatch(@Param("goods") Long[] goods);

}
